package com.yc.springboot.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/8/18
 * Email haijunzhou@hnit.edu.cn
 */
@Data
@Component
@ConfigurationProperties("demo")
public class MyProperties {

    String name;
    int age;
    String[] likes;
    List<String> schools;
    List<MyProperties> friends;
    Map<String,String> familys;
    List<Map<String,String>> dogs;

}
